package com.mall.goods.model.entity;

import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("商品分类表")
public class GoodsCategoryEntity extends BaseEntity {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("父分类id")
    @Excel(name = "父分类id")
    private Long parentId;

    @ApiModelProperty("祖级列表")
    @Excel(name = "祖级列表")
    private String ancestors;

    @ApiModelProperty("分类名称")
    @Excel(name = "分类名称")
    private String categoryName;

    @ApiModelProperty("图标")
    @Excel(name = "图标")
    private String categoryImg;

    @ApiModelProperty("排序号")
    @Excel(name = "排序号")
    private Long sortNum;

    @ApiModelProperty("创建者id")
    @Excel(name = "创建者id")
    private Long createId;

}
